package com.loveyukari.dao;

import com.loveyukari.common.Pager;
import com.loveyukari.model.Cosmetics;

import java.util.List;

public interface CosmeticsDao {

    void insert(Cosmetics cosmetics);

    void update(Cosmetics cosmetics);

    void updateSuccess(int id);

    void updateAccount(int id,String account);

    void updateClose(int id);

    Cosmetics selectById(int id);

    List<Cosmetics> selectByPage(Pager pager,Integer status);

    int countAll();



}
